package com.zhdl.network.strategy.common_client;

import com.zhdl.common.ytools.callback.CommonCallback;
import com.zhdl.network.strategy.common_client.dto.SendReceiverData;

public interface CommonProtocolService {


    void initPort(SendReceiverData data);

    void sendCmd(String port, String cmd);

    void sendCmd(String port, String cmd, CommonCallback<String> result);

    void sendCmd(String port, String cmd, CommonCallback<String> result, int timeOut);


}
